home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / MuManual / Include / mmu / config.h < prev    next >
C/C++ Source or Header  |  2000-04-02  |  2KB  |  48 lines

  1. /*************************************************************************
  2.  ** mmu.library                                                         **
  3.  **                                                                     **
  4.  ** a system library for arbitration and control of the MC68K MMUs      **
  5.  **                                                                     **
  6.  ** © 1998 THOR-Software, Thomas Richter                                **
  7.  ** No commercial use, reassembly, modification without prior, written  **
  8.  ** permission of the authors.                                          **
  9.  ** Including this library in any commercial software REQUIRES a        **
  10.  ** written permission and the payment of a small fee.                  **
  11.  **                                                                     **
  12.  **---------------------------------------------------------------------**
  13.  ** MMU configuration structure                        **
  14.  **                                     **
  15.  ** This stuff should really be used ONLY by debuggers. There's NO NEED    **
  16.  ** to use this internal stuff for anything else            **
  17.  **                                    **
  18.  ** $VER: 40.50 (31.10.99)                        **
  19.  *************************************************************************/
  20.  
  21. #ifndef MMU_CONFIG_H
  22. #define MMU_CONFIG_H
  23.  
  24. struct MMUConfig {
  25.     ULONG        mcf_UserRootPointer[2];    
  26.         /* the MMU root pointer or NULL. For 68040,68060, only
  27.            the first long is used */
  28.     ULONG        mcf_SupervisorRootPointer[2];
  29.         /* the MMU supervisor root pointer or NULL. For 68040
  30.            and 68060, the first long word is used */
  31.     ULONG        mcf_TranslationControl;
  32.         /* for 68040 and 68060, only bits 15..0 are used */
  33.     ULONG        mcf_DTT0;
  34.         /* data transparent translation control 0, or
  35.            transparent translation control 0 */
  36.     ULONG        mcf_DTT1;
  37.         /* data transparent translation control 1, or
  38.            translation translation control 1 */
  39.     ULONG        mcf_ITT0;
  40.         /* instruction transparent translation control 0, or
  41.            NULL if no ITT0 is available. */
  42.     ULONG        mcf_ITT1;
  43.         /* instruction transparent translation control 1, or
  44.            NULL if no ITT1 is available. */
  45. };
  46.  
  47. #endif
  48.